//
//  JLCFVierticalScrollView.h
//  上下滚动btn
//
//  Created by 李杨 on 16/2/25.
//  Copyright © 2016年 liyang. All rights reserved.
//

#import <UIKit/UIKit.h>

@protocol JLCFVierticalScrollViewDelegate <NSObject>


@optional

- (void)clickTitleButton:(UIButton *)button;

- (void)selectAtIndex:(NSInteger)index;


@end


@interface JLCFVierticalScrollView : UIView


@property (nonatomic,weak) id<JLCFVierticalScrollViewDelegate> delegate;

//-(instancetype)initWithArray:(NSArray *)titles AndFrame:(CGRect)frame;
+ (instancetype)initWithTitleArray:(NSArray *)titles AndFrame:(CGRect)frame;

- (void)reloadData;

@end
